<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateDepositSetupsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('deposit_setups', function (Blueprint $table) {
            $table->increments('id');
            $table->unsignedDecimal('min_amount',30,0)->comment('最小入金设置');
            $table->unsignedDecimal('max_amount',30,0)->comment('最大入金设置');

            $table->unsignedBigInteger('created_at');
            $table->unsignedBigInteger('updated_at');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('deposit_setups');
    }
}
